import java.util.*;
import java.sql.*;

public class TestStu {
    public int age=20;
    public String name;
    public static String classes;


    public void setStu(int a,String n){
        this.age=a;
        this.name=n;
    }
    public void print(int a,String n){
        this.setStu(a,n);
        System.out.println(this.age);
        System.out.println(this.name);
    }
    public TestStu(){
        this(16,"阿夸");//调用本类当中带参数的构造方法
        System.out.println("学生");
    }
    public TestStu(int a,String n){
        System.out.println("xxs");
        this.print(a,n);

    }
    public static void fun(){

    }

    public static void main(String[] args) {
        TestStu stu=new TestStu(16,"伊莉雅");
        //stu.print(20,"张三");
        java.util.Date date=new java.util.Date();
        System.out.println(date.getTime());
        TestStu.classes="二期生";
    }
}
